Subject Wise Question -> ENGLISH GRAMMAR -> JUMBLED WORDS

Some parts of the question have marked (P), (Q), (R) & (S) and have been put in jumbled order. Select the appropriate option from the given choices to rearrange the parts and make meaningful sentence. 
In the middle ages, there was little progress (P)/ either intellectual or social (Q)/ with the result that (R)/ teaching became the exclusive prerogative of the church (S)